﻿using System.Collections;
using FX.CC.Andon.Entity;
using FX.CC.Andon.Entity.BasicDataManage;
using FX.CC.Andon.Service.Service;
using FX.CC.Andon.Utility.Json;
using FX.CC.Andon.Entity.Service;
using System;
using System.Collections.Generic;

namespace FX.CC.Andon.Business.Service
{
    /// <summary>
    /// 异常类别业务层
    /// </summary>
    public class EventRecBiz
    {
        private readonly EventRecService _dal = new EventRecService();

        public IList<EventRecWrapper> GetEventRec(DateTime lastGetTime, out DateTime newGetTime)
        {
            return _dal.GetEventRec(lastGetTime, out newGetTime);
        }

        public IList<string> GetMailList(string eTypeCode) {
            return _dal.GetMailList(eTypeCode);
        }
    }
}
